<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <title>管理系统主页</title>
    <!--layui CSS-->
    <link rel="stylesheet"  href="../static/layui/css/layui.css" th:href="@{/layui/css/layui.css}">
    <!--自定义CSS-->
    <link rel="stylesheet"  href="../static/css/style.css" th:href="@{/css/style.css}">
</head>
<body class="layui-layout-body">
<div class="layui-layout layui-layout-admin">
    <div class="layui-header">
        <div class="layui-logo">后台管理系统</div>
        <ul class="layui-nav layui-layout-right">
            <li class="layui-nav-item">
                <a href="javascript:;">
                    <img src="http://t.cn/RCzsdCq" class="layui-nav-img">
                    贤心
                </a>
            </li>
            <li class="layui-nav-item"><a href="">退了</a></li>
        </ul>
    </div>

    <div class="layui-side layui-bg-black">
        <div class="layui-side-scroll">
            <!-- 左侧导航区域（可配合layui已有的垂直导航） -->
            <ul class="layui-nav layui-nav-tree"  lay-filter="test">

                <li class="layui-nav-item " ><a href="index.html">首页</a></li>

                <li class="layui-nav-item layui-nav-itemed">
                    <a class="" href="javascript:;">员工管理</a>
                    <dl class="layui-nav-child">
                        <dd><a href="edit.html">增加员工</a></dd>
                        <dd class="layui-this"><a href="list.html">员工列表</a></dd>
                    </dl>
                </li>
                <li class="layui-nav-item">
                    <a href="javascript:;">部门管理</a>
                    <dl class="layui-nav-child">
                        <dd><a href="javascript:;">增加部门</a></dd>
                        <dd><a href="javascript:;">部门列表</a></dd>
                    </dl>
                </li>
                <li class="layui-nav-item"><a href="">系统设置</a></li>
            </ul>
        </div>
    </div>

    <div class="layui-body">
        <!-- 内容主体区域 -->
        <div style="padding: 15px;">

            <table class="layui-table">
                <colgroup>
                    <col width="150">
                    <col width="200">
                    <col>
                </colgroup>
                <thead>
                <tr>
                    <th>编号</th>
                    <th>姓名</th>
                    <th>昵称</th>
                    <th>薪水</th>
                    <th>出生时间</th>
                    <th>部门</th>
                    <th>操作</th>
                </tr>
                </thead>
                <tbody>
                <tr >
                    <td >1</td>
                    <td >张三</td>
                    <td >爱飞的鱼</td>
                    <td>309998</td>
                    <td >2016-11-29</td>
                    <td >人事部</td>
                    <td>
                        <a class="layui-btn layui-btn-sm"  href="edit.html" >编辑</a>
                        <button  class="layui-btn layui-btn-sm layui-btn-danger deleteBtn">删除
                        </button>
                    </td>
                </tr>

                </tbody>
            </table>



        </div>
    </div>

    <div class="layui-footer">
        <!-- 底部固定区域 -->
        © layui.com - 底部固定区域
    </div>
</div>


<form id="deleteForm" method="post" style="display: none">
    <input name="_method" type="hidden" value="delete">
</form>

<!--layui JS-->
<script src="../static/layui/layui.js" th:src="@{/layui/layui.js}"></script>
<!--自定义JS-->
<script src="../static/js/style.js" th:src="@{/js/style.js}"></script>
</body>
</html>